import { ElMessageBox, ElMessage } from 'element-plus'
// import ElMessageBox from "element-plus"

export function messageBoxAlter(title:string, msg:string, type:string = "info") {
  ElMessageBox.alert(msg, title, {
          confirmButtonText: '确定',
          // callback: action => {
          //   ElMessage.error({
          //     type: 'info',
          //     message: `action: ${ action }`
          //   });
          // }
        });
}